﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NTQOnlineExam.Services.CommandService.TermSection
{
    public class CreateTermCommand
    {
        public CreateTermCommand(string termName, string description, decimal? price, bool isPublished, int? yearId)
        {
            Price = price;
            Description = description;
            TermName = termName;
            IsPublished = isPublished;
            YearId = yearId;
        }

        public string TermName { get; private set; }
        public string Description { get; private set; }
        public decimal? Price { get; private set; }
        public bool IsPublished { get; private set; }
        public int? YearId { get; set; }
    }
}
